/* 现代化移动端样式 */
* {
  box-sizing: border-box;
}

.mobile-home-container {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* 背景渐变动画 */
.mobile-bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* 滚动显示动画 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}



/* 英雄区域 - 带背景视频优化版 */
.mobile-hero-section {
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* 背景视频样式 - 重新添加 */
.mobile-background-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.mobile-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-content-wrapper {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.mobile-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.8) 0%,
    rgba(30, 41, 59, 0.6) 50%,
    rgba(15, 23, 42, 0.8) 100%
  );
  z-index: 2;
}

.mobile-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 50%
  );
  z-index: 3;
}

.mobile-background-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.mobile-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.mobile-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 4;
}

.badge-icon {
  font-size: 1rem;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

.mobile-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 4;
}

.title-line {
  display: block;
}

.title-line.highlight {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-hero-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 100%;
  padding: 0 0.5rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 4;
}

.mobile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 4;
}

.mobile-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1.125rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.mobile-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.mobile-btn-primary:hover::before {
  left: 100%;
}

.mobile-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.mobile-btn-primary.large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.mobile-btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.mobile-btn-group {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
}

.mobile-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.875rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  flex: 1;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 60px;
}

.btn-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.btn-label {
  font-size: 0.8125rem;
  font-weight: 500;
}

.mobile-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 统计数据区域 - 优化版 */
.mobile-stats-section {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 380px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.mobile-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem 0.75rem;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.mobile-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 0.375rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* 关于我们区域 */
.mobile-about-section {
  padding: 4rem 1rem;
  position: relative;
  z-index: 1;
}

.mobile-about-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.mobile-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.mobile-gallery-item {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.mobile-gallery-item:hover {
  transform: scale(1.05);
}

.mobile-features-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.mobile-feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
}

.feature-description {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

/* 项目展示区域 - 优化版 */
.mobile-projects-section {
  padding: 4rem 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

.mobile-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 380px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.mobile-project-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image-container {
  position: relative;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mobile-project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.75rem 0;
}

.project-description {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* 底部号召行动 - 优化版 */
.mobile-footer-cta {
  padding: 4rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer-cta-content {
  max-width: 360px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.footer-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* 悬停效果优化 */
.mobile-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.mobile-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* 响应式设计 - 优化版 */
@media (max-width: 480px) {
  .mobile-home-container {
    padding: 0;
  }
  
  .mobile-hero-section {
    padding: 2.5rem 1rem 3rem;
    min-height: 85vh;
  }
  
  .mobile-hero-title {
    font-size: 1.875rem;
  }
  
  .mobile-hero-description {
    font-size: 1rem;
    padding: 0 0.25rem;
  }
  
  .hero-content-wrapper {
    max-width: 320px;
  }
  
  .mobile-btn-primary {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    max-width: 280px;
  }
  
  .mobile-btn-group {
    max-width: 280px;
  }
  
  .mobile-btn-secondary {
    font-size: 0.875rem;
    padding: 0.75rem 0.5rem;
  }
  
  .btn-label {
    font-size: 0.75rem;
  }
  
  .mobile-stats-grid,
  .mobile-features-grid,
  .mobile-projects-grid {
    max-width: 320px;
  }
  
  .footer-cta-content {
    max-width: 320px;
  }
  
  .footer-title {
    font-size: 1.625rem;
  }
  
  .footer-description {
    font-size: 1rem;
  }
}

@media (max-width: 375px) {
  .mobile-hero-section {
    padding: 2rem 1rem 3rem;
  }
  
  .mobile-hero-title {
    font-size: 2.25rem;
  }
  
  .mobile-hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .mobile-stats-grid {
    gap: 0.75rem;
  }
  
  .mobile-stat-card {
    padding: 1rem 0.75rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .mobile-gallery {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .mobile-gallery-item {
    height: 120px;
  }
  
  .mobile-projects-grid {
    gap: 1rem;
  }
}

@media (max-width: 320px) {
  .mobile-hero-section,
  .mobile-stats-section,
  .mobile-about-section,
  .mobile-projects-section,
  .mobile-footer-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .mobile-hero-title {
    font-size: 2rem;
  }
  
  .mobile-btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .mobile-btn-secondary {
    width: 100%;
    max-width: 280px;
  }
}

@media (min-width: 768px) {
  .mobile-hero-section {
    padding: 4rem 2rem 5rem;
  }
  
  .mobile-hero-title {
    font-size: 3rem;
  }
  
  .mobile-hero-description {
    max-width: 500px;
    font-size: 1.25rem;
  }
  
  .mobile-stats-grid {
    max-width: 600px;
    gap: 1.5rem;
  }
  
  .mobile-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .mobile-gallery-item {
    height: 150px;
  }
  
  .mobile-projects-grid {
    max-width: 600px;
  }
  
  .project-image {
    height: 250px;
  }
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    transition: none;
  }
  
  .mobile-btn-primary,
  .mobile-btn-secondary,
  .mobile-stat-card,
  .mobile-feature-card,
  .mobile-project-card {
    transition: none;
  }
  
  .mobile-bg-gradient {
    animation: none;
  }
}